package com.carbonspark.auth.api;

import com.carbonspark.auth.entity.AuthUserDTO;


import com.carbonspark.auth.entity.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * 用户服务fegin
 */
@FeignClient("CarbonSpark-Ai-auth-dev")
public interface UserFeignService {
    @RequestMapping("/user/getUserInfo")
    public Result<AuthUserDTO> getUserInfo(@RequestBody AuthUserDTO authUserDTO);
}
